﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


/**
* @Author: AdinZ
* @Q  Q : 1454269
* @Email:adinz@adinz.com
* @Created: 2014/3/31 16:45:20
*
* */
namespace Novel.Sys.Model
{
    public class novel_group
    {
        private int iD;
        private int gid;
        private string name;
        private string info;

        public novel_group()
        {
        }

        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get { return iD; }
            set { iD = value; }
        }
        /// <summary>
        /// 群组id
        /// </summary>
        public int Gid
        {
            get { return gid; }
            set { gid = value; }
        }
        /// <summary>
        /// 分组名称
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        /// <summary>
        /// 介绍
        /// </summary>
        public string Info
        {
            get { return info; }
            set { info = value; }
        }
        public void Reset()
        {
            iD = 0;
            gid = 0;
            name = null;
            info = null;
        }

        public void AssignFrom(novel_group AObj)
        {
            if (AObj == null)
            {
                Reset();
                return;
            }
            iD = AObj.iD;
            gid = AObj.gid;
            name = AObj.name;
            info = AObj.info;
        }

    }

}

